GUI Help > Special > getTreeViewParent

getTreeViewParent
handle parent=getTreeViewParent(handle gadget, handle item)

Description:
Retrieves a handle to the parent item of the specified treeview item. This command is useful when "walking" through a treeview, if you wanted to print a list of all the items in a treeview for example.

Return Value:
Handle of the parent of the specified item.

Parameters:
gadget Handle of a treeview gadget
item Handle of a treeview item
Remarks:


See Also:


Example:
(Note: You will need to include the GUI constants file for this example to work)